package com.ruoyi.qiju.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 实验器材申请对象 algs_equipment_application
 * 
 * @author ruoyi
 * @date 2023-03-21
 */
public class AlgsEquipmentApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 实验器材申请ID */
    private Long equipmentApplicationId;

    /** 器材名称 */
    @Excel(name = "器材名称")
    private String equipmentApplicationName;

    /** 器材数量 */
    @Excel(name = "器材数量")
    private Long equipmentApplicationNum;

    /** 器材归还数量 */
    @Excel(name = "器材归还数量")
    private Long equipmentApplicationReturn;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date equipmentApplicationDate;

    /** 使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "使用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date equipmentApplicationUseTime;

    /** 申请人（外键） */
    @Excel(name = "申请人", readConverterExp = "外=键")
    private Long teacherId;

    /** 备用列 */
    @Excel(name = "备用列")
    private String equipmentApplicationBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String equipmentApplicationBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private Long equipmentApplicationBy3;

    public void setEquipmentApplicationId(Long equipmentApplicationId) 
    {
        this.equipmentApplicationId = equipmentApplicationId;
    }

    public Long getEquipmentApplicationId() 
    {
        return equipmentApplicationId;
    }
    public void setEquipmentApplicationName(String equipmentApplicationName) 
    {
        this.equipmentApplicationName = equipmentApplicationName;
    }

    public String getEquipmentApplicationName() 
    {
        return equipmentApplicationName;
    }
    public void setEquipmentApplicationNum(Long equipmentApplicationNum) 
    {
        this.equipmentApplicationNum = equipmentApplicationNum;
    }

    public Long getEquipmentApplicationNum() 
    {
        return equipmentApplicationNum;
    }
    public void setEquipmentApplicationReturn(Long equipmentApplicationReturn) 
    {
        this.equipmentApplicationReturn = equipmentApplicationReturn;
    }

    public Long getEquipmentApplicationReturn() 
    {
        return equipmentApplicationReturn;
    }
    public void setEquipmentApplicationDate(Date equipmentApplicationDate) 
    {
        this.equipmentApplicationDate = equipmentApplicationDate;
    }

    public Date getEquipmentApplicationDate() 
    {
        return equipmentApplicationDate;
    }
    public void setEquipmentApplicationUseTime(Date equipmentApplicationUseTime) 
    {
        this.equipmentApplicationUseTime = equipmentApplicationUseTime;
    }

    public Date getEquipmentApplicationUseTime() 
    {
        return equipmentApplicationUseTime;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setEquipmentApplicationBy1(String equipmentApplicationBy1) 
    {
        this.equipmentApplicationBy1 = equipmentApplicationBy1;
    }

    public String getEquipmentApplicationBy1() 
    {
        return equipmentApplicationBy1;
    }
    public void setEquipmentApplicationBy2(String equipmentApplicationBy2) 
    {
        this.equipmentApplicationBy2 = equipmentApplicationBy2;
    }

    public String getEquipmentApplicationBy2() 
    {
        return equipmentApplicationBy2;
    }
    public void setEquipmentApplicationBy3(Long equipmentApplicationBy3) 
    {
        this.equipmentApplicationBy3 = equipmentApplicationBy3;
    }

    public Long getEquipmentApplicationBy3() 
    {
        return equipmentApplicationBy3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equipmentApplicationId", getEquipmentApplicationId())
            .append("equipmentApplicationName", getEquipmentApplicationName())
            .append("equipmentApplicationNum", getEquipmentApplicationNum())
            .append("equipmentApplicationReturn", getEquipmentApplicationReturn())
            .append("equipmentApplicationDate", getEquipmentApplicationDate())
            .append("equipmentApplicationUseTime", getEquipmentApplicationUseTime())
            .append("teacherId", getTeacherId())
            .append("equipmentApplicationBy1", getEquipmentApplicationBy1())
            .append("equipmentApplicationBy2", getEquipmentApplicationBy2())
            .append("equipmentApplicationBy3", getEquipmentApplicationBy3())
            .toString();
    }
}
